package com.Apo1o.controller;

import com.Apo1o.bean.ManagerBatch;
import com.Apo1o.bean.QuarantineRegistration;
import com.Apo1o.response.Result;
import com.Apo1o.service.IBatchService;
import com.github.pagehelper.PageInfo;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: Apo1o.
 * @Date: 2023/11/2-11-02-17:00
 * @Description： com.Apo1o.controller
 */
@RestController
@RequestMapping("batch")
@RequiredArgsConstructor
public class BatchController {
    private     final IBatchService iBatchService;
    @GetMapping("queryAllUnquarantined")
    public Result queryAllUnquarantined(){
        return Result.success(iBatchService.queryAllUnquarantined());
    }

}
